desktop_windows
Tests
13 test(s) passed
5 test(s) failed, 1 others
Steps
16 step(s) passed
10 step(s) failed, 87 others
Tests
  • TC01 Jun 24, 2021 12:14:15 PM pass
    Jun 24, 2021 12:14:15 PM Jun 24, 2021 12:14:23 PM 0h 0m 8s+326ms
    User can log into Railway with valid username and password
    Status Timestamp Details
    info_outline 12:14:15 PM 1. Navigate to Railway website
    info_outline 12:14:20 PM 2. Click to Login tab
    info_outline 12:14:21 PM 3. Enter valid email and password
    info_outline 12:14:21 PM 4. Click on "Login" button
    check_circle 12:14:23 PM Test Case TC01: pass
  • TC02 Jun 24, 2021 12:14:34 PM pass
    Jun 24, 2021 12:14:34 PM Jun 24, 2021 12:14:48 PM 0h 0m 14s+468ms
    User can't login with blank Username textbox
    Status Timestamp Details
    info_outline 12:14:34 PM 1. Navigate to Railway website
    info_outline 12:14:45 PM 2. Click on Login tab
    info_outline 12:14:47 PM 3. User does not type any words into Username textbox but enter valid information in Password
    info_outline 12:14:47 PM 4. Click on "Login" button
    check_circle 12:14:48 PM Error message show correctly
    check_circle 12:14:48 PM Test Case TC02: pass
  • TC03 Jun 24, 2021 12:14:54 PM pass
    Jun 24, 2021 12:14:54 PM Jun 24, 2021 12:15:11 PM 0h 0m 16s+862ms
    User cannot log into Railway with invalid password
    Status Timestamp Details
    info_outline 12:14:54 PM 1. Navigate to Railway website
    info_outline 12:15:09 PM 2. Click to Login tab
    info_outline 12:15:10 PM 3. Enter valid Email and invalid Password
    info_outline 12:15:10 PM 4. Click on "Login" button
    check_circle 12:15:11 PM Test Case TC03: pass
  • TC04 Jun 24, 2021 12:15:19 PM pass
    Jun 24, 2021 12:15:19 PM Jun 24, 2021 12:15:35 PM 0h 0m 16s+687ms
    Login page displays when un-logged User clicks on "Book ticket" tab
    Status Timestamp Details
    info_outline 12:15:19 PM 1. Navigate to Railway website
    info_outline 12:15:33 PM 2. Click on BookTicket tab
    check_circle 12:15:35 PM Test Case TC04: pass
  • TC05 Jun 24, 2021 12:15:43 PM pass
    Jun 24, 2021 12:15:43 PM Jun 24, 2021 12:16:11 PM 0h 0m 28s+95ms
    System shows message when user enters wrong password several times
    Status Timestamp Details
    info_outline 12:15:43 PM 1. Navigate to QA Railway Website
    info_outline 12:16:07 PM 2. Click on Login tab
    info_outline 12:16:10 PM 3. Enter valid information into "Username" textbox except "Password" textbox.
    info_outline 12:16:10 PM 4. Click on "Login" button
    info_outline 12:16:10 PM 5. Repeat step 3 three more times.
    check_circle 12:16:11 PM Test Case TC05: pass
  • TC05 Jun 24, 2021 12:16:19 PM pass
    Jun 24, 2021 12:16:19 PM Jun 24, 2021 12:16:25 PM 0h 0m 5s+953ms
    System shows message when user enters wrong password several times
    Status Timestamp Details
    info_outline 12:16:19 PM 1. Navigate to QA Railway Website
    info_outline 12:16:21 PM 2. Click on Login tab
    info_outline 12:16:24 PM 3. Enter valid information into "Username" textbox except "Password" textbox.
    info_outline 12:16:24 PM 4. Click on "Login" button
    info_outline 12:16:24 PM 5. Repeat step 3 three more times.
    check_circle 12:16:25 PM Test Case TC05: pass
  • TC05 Jun 24, 2021 12:16:32 PM pass
    Jun 24, 2021 12:16:32 PM Jun 24, 2021 12:16:43 PM 0h 0m 10s+933ms
    System shows message when user enters wrong password several times
    Status Timestamp Details
    info_outline 12:16:32 PM 1. Navigate to QA Railway Website
    info_outline 12:16:39 PM 2. Click on Login tab
    info_outline 12:16:42 PM 3. Enter valid information into "Username" textbox except "Password" textbox.
    info_outline 12:16:42 PM 4. Click on "Login" button
    info_outline 12:16:42 PM 5. Repeat step 3 three more times.
    check_circle 12:16:43 PM Test Case TC05: pass
  • TC05 Jun 24, 2021 12:16:51 PM pass
    Jun 24, 2021 12:16:51 PM Jun 24, 2021 12:17:11 PM 0h 0m 19s+853ms
    System shows message when user enters wrong password several times
    Status Timestamp Details
    info_outline 12:16:51 PM 1. Navigate to QA Railway Website
    info_outline 12:17:08 PM 2. Click on Login tab
    info_outline 12:17:10 PM 3. Enter valid information into "Username" textbox except "Password" textbox.
    info_outline 12:17:10 PM 4. Click on "Login" button
    info_outline 12:17:10 PM 5. Repeat step 3 three more times.
    check_circle 12:17:11 PM Test Case TC05: pass
  • TC06 Jun 24, 2021 12:17:18 PM fail
    Jun 24, 2021 12:17:18 PM Jun 24, 2021 12:17:30 PM 0h 0m 12s+451ms
    User can log into Railway with valid username and password
    Status Timestamp Details
    info_outline 12:17:18 PM 1. Navigate to Railway website
    info_outline 12:17:26 PM 2. Click to Login tab
    info_outline 12:17:26 PM 3. Enter valid email and password
    info_outline 12:17:26 PM 4. Click on "Login" button
    info_outline 12:17:28 PM Click "My ticket" tab, user will be directed to My ticket page
    cancel 12:17:30 PM Test Case TC06: fail
    cancel 12:17:30 PM Test Case Failed: java.lang.AssertionError: expected [PageObject.Railway.MyTicketPage@5d04fbb7] but found [PageObject.Railway.MyTicketPage@da67c46]
    info_outline 12:17:30 PM Snapshot below: com.aventstack.extentreports.ExtentTest@2f2f92f
  • TC07 Jun 24, 2021 12:17:47 PM fail
    Jun 24, 2021 12:17:47 PM Jun 24, 2021 12:18:02 PM 0h 0m 14s+818ms
    User can create new account
    Status Timestamp Details
    info_outline 12:17:47 PM 1. Navigate to QA Railway Website
    info_outline 12:18:00 PM 2. Click on Register tab
    info_outline 12:18:01 PM 3. Enter valid information into all fields
    info_outline 12:18:01 PM 4. Click on "Register" button
    cancel 12:18:02 PM Test Case TC07: fail
    cancel 12:18:02 PM Test Case Failed: java.lang.AssertionError: expected [Thank you for registering your account] but found [Please fill the form below to create a new account or login if you already have one. If you already created an account but haven't confirmed it yet, go here and enter the confirmation code which can be found in your email. Please make sure your PID/Passport Number is correct. It can't be changed.]
    info_outline 12:18:02 PM Snapshot below: com.aventstack.extentreports.ExtentTest@68af8288
  • TC09 Jun 24, 2021 12:18:22 PM pass
    Jun 24, 2021 12:18:22 PM Jun 24, 2021 12:18:37 PM 0h 0m 14s+904ms
    User can change password
    Status Timestamp Details
    info_outline 12:18:30 PM 1. Navigate to Railway
    info_outline 12:18:30 PM 2. Login to Railway
    info_outline 12:18:33 PM 3. Click on "Change Password" tab
    info_outline 12:18:33 PM 4. Enter valid value into all fields.
    info_outline 12:18:33 PM 5. Click on "Change Password" button
    check_circle 12:18:37 PM Test Case TC09: pass
  • TC10 Jun 24, 2021 12:18:44 PM pass
    Jun 24, 2021 12:18:44 PM Jun 24, 2021 12:18:57 PM 0h 0m 12s+688ms
    User can't create account with "Confirm password" is not the same with "Password"
    Status Timestamp Details
    info_outline 12:18:44 PM 1. Navigate to QA Railway Website
    info_outline 12:18:54 PM 2. Click on Register tab
    info_outline 12:18:56 PM 3. Enter valid information into all fields except "Confirm password" is not the same with "Password"
    info_outline 12:18:56 PM 4. Click on "Register" button
    check_circle 12:18:57 PM Test Case TC10: pass
  • TC11 Jun 24, 2021 12:19:06 PM pass
    Jun 24, 2021 12:19:06 PM Jun 24, 2021 12:19:20 PM 0h 0m 14s+152ms
    User can't create account while password and PID fields are empty
    Status Timestamp Details
    info_outline 12:19:06 PM 1. Navigate to QA Railway Website
    info_outline 12:19:17 PM 2. Click on Register tab
    info_outline 12:19:18 PM 3. Enter valid information into all fields except Confirm password is not the same with Password
    info_outline 12:19:18 PM 4. Click on "Register" button
    check_circle 12:19:20 PM Test Case TC11: pass
  • TC12 Jun 24, 2021 12:19:32 PM fail
    Jun 24, 2021 12:19:32 PM Jun 24, 2021 12:19:36 PM 0h 0m 3s+501ms
    Errors display when password reset token is blank
    Status Timestamp Details
    info_outline 12:19:35 PM 1. Navigate to Railway
    info_outline 12:19:35 PM 2. Click on "Forgot Password page" link
    cancel 12:19:35 PM Test Case TC12: fail
    cancel 12:19:35 PM Test Case Failed: org.openqa.selenium.NoSuchElementException: Unable to locate element: //a[@href=/Account/ForgotPassword.cshtml] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z' System info: host: 'LGDN15017-W10', ip: '192.168.189.148', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.1' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 89.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20210614221319, moz:geckodriverVersion: 0.29.0, moz:headless: false, moz:processID: 42276, moz:profile: C:\Users\SATTDN21.02.07\App..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify} Session ID: 49f8104c-1e00-4e37-b9b3-24d9ec7fbad4 *** Element info: {Using=xpath, value=//a[@href=/Account/ForgotPassword.cshtml]}
    info_outline 12:19:36 PM Snapshot below: com.aventstack.extentreports.ExtentTest@6915b614
  • TC13 Jun 24, 2021 12:19:51 PM fail
    Jun 24, 2021 12:19:51 PM Jun 24, 2021 12:20:04 PM 0h 0m 12s+706ms
    Errors display if password and confirm password don't match when resetting password
    Status Timestamp Details
    info_outline 12:20:02 PM 1. Navigate to Railway
    info_outline 12:20:03 PM 2. Click on "Forgot Password page" link
    cancel 12:20:03 PM Test Case TC13: fail
    cancel 12:20:03 PM Test Case Failed: org.openqa.selenium.NoSuchElementException: Unable to locate element: //a[@href=/Account/ForgotPassword.cshtml] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:24:21.231Z' System info: host: 'LGDN15017-W10', ip: '192.168.189.148', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.1' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 89.0.1, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20210614221319, moz:geckodriverVersion: 0.29.0, moz:headless: false, moz:processID: 46536, moz:profile: C:\Users\SATTDN21.02.07\App..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify} Session ID: d6a6e42e-ce56-48e4-a5c4-48f3123dc5aa *** Element info: {Using=xpath, value=//a[@href=/Account/ForgotPassword.cshtml]}
    info_outline 12:20:04 PM Snapshot below: com.aventstack.extentreports.ExtentTest@748015f8
  • TC14 Jun 24, 2021 12:20:13 PM fail
    Jun 24, 2021 12:20:13 PM Jun 24, 2021 12:20:24 PM 0h 0m 11s+384ms
    User can book 1 ticket at a time
    Status Timestamp Details
    info_outline 12:20:13 PM 1. Navigate to QA Railway Website
    info_outline 12:20:18 PM 2. Login with a valid account
    info_outline 12:20:20 PM 3. Click on "Book ticket" tab
    info_outline 12:20:21 PM 4. Select a "Depart date" from the list
    info_outline 12:20:21 PM 5. Select "Sài Gòn" for "Depart from" and "Nha Trang" for "Arrive at".
    info_outline 12:20:21 PM 6. Select "Soft bed with air conditioner" for "Seat type"
    info_outline 12:20:21 PM 7. Select "1" for "Ticket amount"
    info_outline 12:20:21 PM 8. Click on "Book ticket" button
    cancel 12:20:24 PM Test Case TC14: fail
    cancel 12:20:24 PM Test Case Failed: org.openqa.selenium.ElementClickInterceptedException: Element
    info_outline 12:20:24 PM Snapshot below: com.aventstack.extentreports.ExtentTest@635900ef
  • TC15 Jun 24, 2021 12:20:43 PM pass
    Jun 24, 2021 12:20:43 PM Jun 24, 2021 12:21:11 PM 0h 0m 27s+851ms
    User can open "Book ticket" page by clicking on "Book ticket" link in "Train timetable" page
    Status Timestamp Details
    info_outline 12:20:43 PM 1. Navigate to QA Railway Website
    info_outline 12:20:56 PM 2. Login with a valid account
    info_outline 12:21:02 PM 3. Click on "Timetable" tab
    info_outline 12:21:05 PM 4. Click on "book ticket" link of the route from "Huế" to "Sài Gòn"
    check_circle 12:21:11 PM Test Case TC15: pass
  • TC16 Jun 24, 2021 12:21:19 PM pass
    Jun 24, 2021 12:21:19 PM Jun 24, 2021 12:21:37 PM 0h 0m 17s+740ms
    User can cancel a ticket
    Status Timestamp Details
    info_outline 12:21:19 PM 1. Navigate to QA Railway Website
    info_outline 12:21:33 PM 2. Login with a valid account
    info_outline 12:21:35 PM Book a ticket
    info_outline 12:21:37 PM 4. Click on "My ticket" tab
    info_outline 12:21:37 PM 5. Click on "Cancel" button of ticket which user want to cancel.
    info_outline 12:21:37 PM 6. Click on "OK" button on Confirmation message "Are you sure?"
    check_circle 12:21:37 PM Ticket is deleted
    check_circle 12:21:37 PM Test Case TC16: pass
info_outline check_circle cancel cancel error warning redo clear
Dashboard
Tests
19
Steps
113
Start
Jun 24, 2021 12:13:39 PM
End
Jun 24, 2021 12:21:39 PM
Time Taken
0h 7m 59s+847ms